-- GENERATED SPELL FOR [Dark Rune Guardian] --


function spell0_33388(pUnit, Event) --@Stormstrike,n/a--
pUnit:FullCastSpellOnTarget(64757,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33388', 12286, 1)
end

function Sorts_33388(pUnit, Event)
local choix_sorts_33388 = math.random(0, 0)
if choix_sorts_33388 == 0 then
pUnit:RegisterEvent('spell0_33388', 1, 1)
end
end

function mob33388_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33388', math.random(1500, 3000), 1)
end

function mob33388_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33388_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33388_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33388, 1, 'mob33388_Action')
RegisterUnitEvent(33388, 2, 'mob33388_Leave')
RegisterUnitEvent(33388, 3, 'mob33388_Kill')
RegisterUnitEvent(33388, 4, 'mob33388_Die')
